@layout("/common/_form.html",{js:["/assets/manager/flowService/flowService_edit.js"]}){

<form class="layui-form" id="flowServiceForm" lay-filter="flowServiceForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="serviceId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="serviceName" name="serviceName" placeholder="请输入服务名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">背景图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="bgUrlBtn">上传图片</button>
                            <input type="hidden" id="bgUrl" name="bgUrl" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview1">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务标签</label>
                        <div class="layui-input-block" class="tags" id="tags">
                            <input type="text" name="tags" id="inputTags" class="layui-input" placeholder="回车生成标签" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea name="notes" id="notes" placeholder="请输入备注" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务说明</label>
                        <div class="layui-input-block">
                            <textarea name="payNotes" id="payNotes" placeholder="一行一句" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">下单流程</label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="processBtn">上传图片</button>
                            <input type="hidden" id="process" name="process" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview2">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">注意事项</label>
                        <div class="layui-input-block">
                            <textarea name="points" id="points" placeholder="一行一句" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}